<include file="Public:header"/>
<!--主页面-->
<div id="main-content" class="content">
    <div class="content-box">

        <ul class="breadcrumb">
            <li><a href="/">首页</a></li>
            <li><a href="">文章管理</a></li>
            <li class="active">添加文章</li>
        </ul>
        <div class="page-header clearfix">
            <h3>文章管理</h3>
            <ul class="nav nav-tabs">    
                <li>
                    <a href="{:U('Article/articleList')}">文章列表</a>
                </li>
                <li class="active">
                    <a href="javascript:;">添加文章</a>
                </li>
            </ul>
        </div>

        <!--表格内容-->
        <div class="content-box-content">
            <!--表单 start-->
            <form action="{:U('Article/addArticle')}" method="post" class="form-horizontal" role="form">
                <div class="form-group">
                    <label for="title" class="col-sm-3 control-label"><em class="prompt-red"></em>标题：</label>
                    <div class="col-sm-9">
                      <input type="text" class="form-control" id="title" name="title" placeholder="标题" required>
                    </div>
                  </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">文章分类：</label>
                    <div class="col-sm-9">
                        <select name="type" class="form-control input-sm">
                            <option value="">请选择文章分类</option>
                            <option value="1">媒体报道</option>
                            <option value="2">平台推文</option>
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <label for="link_url" class="col-sm-3 control-label"><em class="prompt-red"></em>链接地址：</label>
                    <div class="col-sm-9">
                        <input type="text" class="form-control" id="link_url" name="link_url" placeholder="链接地址"><font color="red">格式为：http://www.qufutong.me</font>
                    </div>
                </div>
                <div class="form-group">
                    <label for="sort" class="col-sm-3 control-label"><em class="prompt-red"></em>排序：</label>
                    <div class="col-sm-9">
                        <input type="text" class="form-control" id="sort" name="sort" placeholder="排序">
                    </div>
                </div>

                  <div class="form-group">
                    <div class="col-sm-offset-3 col-sm-9">
                      <button type="submit" class="btn btn-default btn-primary">确认添加</button>
                    </div>
                  </div>
            </form>
            <!--表单 end-->
        </div>
    </div>
</div>
<include file="Public:footer"/>
